home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gcc / ixemul_src.lha / ixemul-41.0 / static / Makefile.in < prev    next >
Makefile  |  1995-05-23  |  1KB  |  64 lines

  1. #### Start of system configuration section. ####
  2.  
  3. srcdir =    @srcdir@
  4. VPATH =        @srcdir@
  5.  
  6. # Common prefix for machine-independent installed files.
  7. prefix =    @prefix@
  8.  
  9. # Common prefix for machine-dependent installed files.
  10. exec_prefix =    @exec_prefix@
  11.  
  12. bindir =    $(exec_prefix)/bin
  13. libdir =    $(exec_prefix)/Sys/libs
  14.  
  15. INSTALL =    @INSTALL@
  16. INSTALL_DATA =    @INSTALL_DATA@
  17.  
  18. CC =        @CC@
  19.  
  20. CFLAGS =    @CFLAGS@
  21. LDFLAGS =    @LDFLAGS@
  22.  
  23. RANLIB =    @RANLIB@
  24. AR =        ar
  25.  
  26. #### End system configuration section ####
  27.  
  28. FLAVOR_CFLAGS =    -m$(CPU) -m$(FPU) -f$(BASE)
  29. OTHER_CFLAGS =    -fomit-frame-pointer
  30. ALL_CFLAGS =    $(CFLAGS) $(FLAVOR_CFLAGS) $(OTHER_CFLAGS) $(INCS) $(DEFS)
  31.  
  32. DEFS =        -DSTATIC_LIBRARY
  33. INCS =        -I$(srcdir) -I$(srcdir)/../library -I$(srcdir)/../include
  34. LIB =        libstatic.a
  35. LIB2 =        libstatic.ba
  36.  
  37. .c.o:
  38.         $(CC) $(ALL_CFLAGS) -c $< -o $@
  39.  
  40.  
  41. SRC=        alloca.c ctime.c getopt.c regex.c \
  42.         errlst.c siglist.c regerror.c regexp.c regsub.c xmalloc.c \
  43.         popen.c 
  44.  
  45. OBJ=        alloca.o ctime.o getopt.o regex.o \
  46.         errlst.o siglist.o regerror.o regexp.o regsub.o xmalloc.o \
  47.         popen.o 
  48.  
  49. $(LIB):        $(OBJ)
  50.         rm -f $@
  51.         $(AR) rc $@ $(OBJ)
  52.         $(RANLIB) $@
  53.  
  54. $(LIB2):    $(OBJ)
  55.         rm -f $(LIB2)
  56.         $(AR) rc $(LIB2) $(OBJ)
  57.         $(RANLIB) $(LIB)
  58.  
  59. clean:
  60.         rm -f *!
  61.  
  62. clobber:    clean
  63.         rm -f $(OBJ) $(LIB) $(LIB2)
  64.